package com.gpframework.module.wages.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gpframework.module.wages.mapper.GzPersonnelVersionMapper;
import com.gpframework.module.wages.domain.GzPersonnelVersion;
import com.gpframework.module.wages.domain.vo.GzPersonnelVersionVo;
import com.gpframework.module.wages.service.IGzPersonnelVersionService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GzPersonnelVersion
 * @Author gpframework
 * @Date 2024-01-26
 * @Version 1.0.0
 * @Description 人事版本Service业务层处理
 */
@Service
public class GzPersonnelVersionServiceImpl extends ServiceImpl<GzPersonnelVersionMapper, GzPersonnelVersion> implements IGzPersonnelVersionService {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-26
     * @Param [lqw]
     * @Return List<GzPersonnelVersionVo>
     */
    @Override
    public List<GzPersonnelVersionVo> listVo(QueryWrapper<GzPersonnelVersion> lqw) {
        return this.baseMapper.listVo(lqw);
    }

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-26
     * @Param [id]
     * @Return GzPersonnelVersionVo
     */
    @Override
    public GzPersonnelVersionVo getVoById(Long id) {
        return this.baseMapper.getVo(id);
    }
}
